//
//  FKVideoItem.h
//  FKVideoPlayerDemo
//
//  Created by 云眼科技 on 16/7/28.
//  Copyright © 2016年 CloudEyes. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger, FKMediaType) {
    FKMediaTypeAudio = 0,
    FKMediaTypeVideo
};

@interface FKMediaItem : NSObject

/** type */
//@property (nonatomic, assign) FKMediaType type;  // not used now.

/** title */
@property (nonatomic, copy, nullable) NSString *title;

/** URL string */
@property (nonatomic, copy) NSString *URLString;

/**
 *  init method
 *
 *  @param title     title
 *  @param URLString URLString, it can be local or remote.
 *
 *  @return instance
 */
-(instancetype)initWithTitle:(nullable NSString *)title 
                   URLString:(NSString *)URLString;

@end

NS_ASSUME_NONNULL_END